package com.sluggard.security.manage.model.req;

import com.sluggard.mp.model.req.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 角色xinxi请求体
 * </p>
 *
 * @author lizheng
 * @since 2024-04-28
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "角色xinxi请求体", description = "角色xinxi")
public class RoleReq extends BaseReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "类型{1:超级管理员,2:普通管理员}")
    private Integer type;

    @Schema(description = "角色编码")
    private String code;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "描述")
    private String descn;

    @Schema(description = "权限集合")
    private List<String> permissionIds;
}
